From 3b27e61af6cabd58031e0fa46e3f19f02acb2328 Mon Sep 17 00:00:00 2001 From: Elliott Mitchell Date: Thu, 16 Jul 2020 23:37:42 -0700 Subject: [PATCH] d/shuffle-binaries: Add quoting for potentially changeable variables These should originate with the owner of a build system and are unlikely to get hazardous values. This script though *should* work on a system with such a bizarre setup. On general principle, add double-quotes. Signed-off-by: Elliott Mitchell Acked-by: Hans van Kranenburg --- debian/shuffle-binaries | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/shuffle-binaries b/debian/shuffle-binaries index 31aa01e2bd..8a823da10b 100755 --- a/debian/shuffle-binaries +++ b/debian/shuffle-binaries @@ -2,7 +2,7 @@ set -e set -o pipefail -version=$1; shift +version="$1"; shift # We wrap all of the programs in /usr/bin with a script # (xen-utils-wrapper) which chooses the version corresponding to the @@ -17,10 +17,10 @@ version=$1; shift list=debian/libxenmiscV.install.vsn-in t=debian/tmp -vd=/usr/lib/xen-$version/bin +vd="/usr/lib/xen-$version/bin" cd=/usr/lib/xen-common/bin -mkdir -p $t/$vd +mkdir -p "$t/$vd" for binary in `find $t/usr/{bin,sbin} -type f`; do reason='' -- 2.30.2